package com.example.app.components.MySurface

import androidx.compose.foundation.BorderStroke
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.material.contentColorFor
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.RectangleShape
import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp

@Composable
fun MySurface(
        modifier: Modifier = Modifier,
        shape: Shape = RectangleShape,
        color:Color = Color.Transparent,
        contentColor: Color = contentColorFor(color),
        border: BorderStroke? = null,
        elevation: Dp = 0.dp,
        content: @Composable () -> Unit
) {
    Surface(
        modifier,
        shape,
        color,
        contentColor,
        border,
        elevation,
        content,
    )
}